<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
      
    </head>
    <body>
        <?php if ($sf_user->isAuthenticated()): ?> 
            <div id="sf_admin_theme_header">
                <a href="/frontend_dev.php/"><img src="/images/header_text.png" alt="Home"></a>
            </div>
            <div>    
                <div id="barramenu">
                    <span style="margin-right: 5px">
                           <?php echo "Usuario:". $sf_user->getGuardUser()->getFirstName()." ".$sf_user->getGuardUser()->getLastName();?>
                        &nbsp;
                           <?php $archivo_actual = basename($_SERVER['PHP_SELF']);
                         if ($archivo_actual<>"frontend_dev.php"):?>
                         <a style="text-decoration:none;  "href="<?php echo url_for('principal/index')  ?>">Menu principal</a>
                         <?php endif;?>
                    </span><a style="text-decoration:none; " href="<?php echo url_for('@sf_guard_signout')  ?>">Salir</a>
                </div>
<!--                <div class="clear"></div>-->
            </div>
<!--            <div id="sf_admin_path">
                <strong><a href="<?php //echo url_for("@homepage") ?>">SGIM</a></strong> 
            </div>-->
        
       <!--            <a style="float:right" href="<?php //echo url_for('@sf_guard_signout')   ?>">Salir</a></div>-->
        <?php endif; ?>
        <div id="sf_admin_container" id="cuerpo">
        <div id="sf_admin_content">
             <?php echo $sf_content ?>
        </div>
        </div>
    </body>
</html>
